package org.dtrd.modules.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dtrd.modules.food.entity.bean.RecipeCategoryDetail;
import org.dtrd.modules.food.entity.po.DtrdExtEmsYwRecipeCategory;
import org.dtrd.modules.food.entity.request.RecipeCategoryRequest;

import java.util.List;

/**
 * <p>
 * 食谱分类服务类
 * </p>
 *
 * @author QR
 * @since 2021-12-08
 */
public interface IDtrdExtEmsYwRecipeCategoryService extends IService<DtrdExtEmsYwRecipeCategory> {

    List<RecipeCategoryDetail> getRecipeCategoryList(RecipeCategoryRequest request);

    RecipeCategoryDetail getRecipeCategory(Integer dataId);

    boolean saveOrUpdateRecipeCategory(RecipeCategoryDetail dto);

    boolean removeRecipeCategory(Integer dataId);
}
